package com.platform.scheduleJob.utils;

import com.platform.scheduleJob.service.ScheduleJobService;
import org.springframework.beans.factory.annotation.Autowired;

import javax.annotation.PostConstruct;

public class ScheduleInit {

    @Autowired
    private ScheduleJobService scheduleJobService;

    @PostConstruct
    public void init() {
        scheduleJobService.initScheduler();
    }

}
